import request from "@/utils/request";

export default {
	// 登录
	login: (data) => request({
		url: '/ylj/user/loginByMobile',
		method: 'POST',
		data
	}),
	getInfo: (params) => request({
		url: "user/findInfo",
		method: "get",
		params
	}),
	// 退出方法
	logout() {
		return request({
			'url': '/logout',
			'method': 'POST'
		})
	}
}